.class Lcom/melesta/engine/EngineActivity$1;
.super Ljava/lang/Object;
.source "EngineActivity.java"

# interfaces
.implements Lcom/amazon/ags/api/AmazonGamesCallback;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/melesta/engine/EngineActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/melesta/engine/EngineActivity;


# direct methods
.method constructor <init>(Lcom/melesta/engine/EngineActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 285
    iput-object p1, p0, Lcom/melesta/engine/EngineActivity$1;->this$0:Lcom/melesta/engine/EngineActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onServiceNotReady(Lcom/amazon/ags/api/AmazonGamesStatus;)V
    .locals 2
    .parameter "reason"

    .prologue
    .line 313
    const-string v0, "amazonGC"

    invoke-virtual {p1}, Lcom/amazon/ags/api/AmazonGamesStatus;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/melesta/engine/Log;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 314
    sget-object v0, Lcom/melesta/engine/EngineActivity$25;->$SwitchMap$com$amazon$ags$api$AmazonGamesStatus:[I

    invoke-virtual {p1}, Lcom/amazon/ags/api/AmazonGamesStatus;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    .line 346
    :pswitch_0
    return-void

    .line 314
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
    .end packed-switch
.end method

.method public onServiceReady()V
    .locals 3

    .prologue
    .line 288
    invoke-static {}, Lcom/melesta/engine/EngineActivity;->getInstance()Lcom/melesta/engine/EngineActivity;

    move-result-object v0

    .line 289
    .local v0, ea:Lcom/melesta/engine/EngineActivity;
    if-nez v0, :cond_0

    .line 309
    :goto_0
    return-void

    .line 292
    :cond_0
    iget-object v1, v0, Lcom/melesta/engine/EngineActivity;->mHandler:Landroid/os/Handler;

    new-instance v2, Lcom/melesta/engine/EngineActivity$1$1;

    invoke-direct {v2, p0}, Lcom/melesta/engine/EngineActivity$1$1;-><init>(Lcom/melesta/engine/EngineActivity$1;)V

    invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_0
.end method
